<template>
  <div>
    <h1>嵌套路由</h1>
    <router-link to="/index">首页</router-link> &nbsp; <router-link to="/class">新闻</router-link> &nbsp;
    <router-link to="/sport">体育</router-link> &nbsp;
    <hr />
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  methods: {},
  components: {},
  computed: {},
  watch: {},
  created() {},
  props: {}
}
</script>

<style scoped></style>